<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>GrammarBoss</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="GrammarBoss";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../mmj/util/GMFFBoss.html" title="class in mmj.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../mmj/util/LogicalSystemBoss.html" title="class in mmj.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?mmj/util/GrammarBoss.html" target="_top">Frames</a></li>
<li><a href="GrammarBoss.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">mmj.util</div>
<h2 title="Class GrammarBoss" class="title">Class GrammarBoss</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../mmj/util/Boss.html" title="class in mmj.util">mmj.util.Boss</a></li>
<li>
<ul class="inheritance">
<li>mmj.util.GrammarBoss</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">GrammarBoss</span>
extends <a href="../../mmj/util/Boss.html" title="class in mmj.util">Boss</a></pre>
<div class="block">Responsible for building and using Grammar.
 <ul>
 <li>If non-executable parm, validate, store and "consume"
 <li>If LoadFile command, mark Grammar as "not initialized" but do not
 "consume" the command.
 <li>If InitializeGrammar command, invoke Grammar's initialize method, get
 error status, print and clear messages and consume.
 <li>Use grammar.getGrammarInitialized() to check if grammar is "initialized"
 -- and then store the result (we will not "set" the grammarInitialized flag
 in the Grammar object, but keep track of it circumstances outside of Grammar
 may require re-initialization.)
 <li>If Parse parm, initialize grammar if "not initialized" (regardless of the
 fact that the user may have input an Initialize RunParm followed by a Parse).
 Then if initialize successful, process the parse parm, print-and-clear
 messages and "consume" parm.
 <li>Remember that Messages, LogicalSystem and other objects may have changed.
 Don't worry about whether or not file is loaded, the LogicalSystemBoss will
 throw an exception if attempt is made to retrieve LogicalSystem if it is not
 loaded and error free.
 <li>If clear, set grammar, etc. to null.
 </ul></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#allStatementsParsedSuccessfully">allStatementsParsedSuccessfully</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../mmj/verify/Grammar.html" title="class in mmj.verify">Grammar</a></code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#grammar">grammar</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#grammarAmbiguityParm">grammarAmbiguityParm</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#grammarInitialized">grammarInitialized</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.Boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#statementAmbiguityParm">statementAmbiguityParm</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_mmj.util.Boss">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;mmj.util.<a href="../../mmj/util/Boss.html" title="class in mmj.util">Boss</a></h3>
<code><a href="../../mmj/util/Boss.html#batchFramework">batchFramework</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../mmj/util/GrammarBoss.html#GrammarBoss(mmj.util.BatchFramework)">GrammarBoss</a></strong>(<a href="../../mmj/util/BatchFramework.html" title="class in mmj.util">BatchFramework</a>&nbsp;batchFramework)</code>
<div class="block">Constructor with BatchFramework for access to environment.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#doInitializeGrammar(mmj.util.RunParmArrayEntry)">doInitializeGrammar</a></strong>(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)</code>
<div class="block">Executes the InitializeGrammar command, prints any messages, etc.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#doParse(mmj.util.RunParmArrayEntry)">doParse</a></strong>(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)</code>
<div class="block">Executes the Parse command, prints any messages, etc.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#doRunParmCommand(mmj.util.RunParmArrayEntry)">doRunParmCommand</a></strong>(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)</code>
<div class="block">Executes a single command from the RunParmFile.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.Boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#editAmbiguityParm(java.lang.String, java.lang.String)">editAmbiguityParm</a></strong>(java.lang.String&nbsp;ambiguityParm,
                 java.lang.String&nbsp;valueCaption)</code>
<div class="block">Validate an Ambiguity Edits Runparm.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#editGrammarAmbiguityEdits(mmj.util.RunParmArrayEntry)">editGrammarAmbiguityEdits</a></strong>(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)</code>
<div class="block">Validate Grammar Ambiguity Edits Runparm.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#editStatementAmbiguityEdits(mmj.util.RunParmArrayEntry)">editStatementAmbiguityEdits</a></strong>(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)</code>
<div class="block">Validate Statement Ambiguity Edits Runparm.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#getAllStatementsParsedSuccessfully()">getAllStatementsParsedSuccessfully</a></strong>()</code>
<div class="block">Returns true if all statements parsed successfully.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../mmj/verify/Grammar.html" title="class in mmj.verify">Grammar</a></code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#getGrammar()">getGrammar</a></strong>()</code>
<div class="block">Fetch a Grammar object, building it if necessary from previously input
 RunParms.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#getGrammarInitialized()">getGrammarInitialized</a></strong>()</code>
<div class="block">Returns true if Grammar initialized successfully.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/GrammarBoss.html#initializeGrammar()">initializeGrammar</a></strong>()</code>
<div class="block">An initializeGrammar subroutine.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_mmj.util.Boss">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;mmj.util.<a href="../../mmj/util/Boss.html" title="class in mmj.util">Boss</a></h3>
<code><a href="../../mmj/util/Boss.html#buildFileObjectForExistingFile(java.io.File, java.lang.String, java.lang.String)">buildFileObjectForExistingFile</a>, <a href="../../mmj/util/Boss.html#buildFileObjectForExistingFolder(java.io.File, java.lang.String, java.lang.String)">buildFileObjectForExistingFolder</a>, <a href="../../mmj/util/Boss.html#doConstructBufferedFileReader(java.lang.String, java.lang.String, java.io.File)">doConstructBufferedFileReader</a>, <a href="../../mmj/util/Boss.html#doConstructBufferedFileWriter(java.lang.String, java.lang.String, java.lang.String, java.io.File)">doConstructBufferedFileWriter</a>, <a href="../../mmj/util/Boss.html#doConstructPrintWriter(java.io.File, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">doConstructPrintWriter</a>, <a href="../../mmj/util/Boss.html#editExistingFileRunParm(java.io.File, mmj.util.RunParmArrayEntry, java.lang.String, int)">editExistingFileRunParm</a>, <a href="../../mmj/util/Boss.html#editExistingFolderNameParm(mmj.util.RunParmArrayEntry, java.lang.String, int)">editExistingFolderNameParm</a>, <a href="../../mmj/util/Boss.html#editExistingFolderRunParm(java.io.File, mmj.util.RunParmArrayEntry, java.lang.String, int)">editExistingFolderRunParm</a>, <a href="../../mmj/util/Boss.html#editFileCharsetParm(mmj.util.RunParmArrayEntry, java.lang.String, int)">editFileCharsetParm</a>, <a href="../../mmj/util/Boss.html#editFileNameParm(mmj.util.RunParmArrayEntry, java.lang.String, int)">editFileNameParm</a>, <a href="../../mmj/util/Boss.html#editFileUsageParm(mmj.util.RunParmArrayEntry, java.lang.String, int)">editFileUsageParm</a>, <a href="../../mmj/util/Boss.html#editOnOffRunParm(mmj.util.RunParmArrayEntry, java.lang.String, int)">editOnOffRunParm</a>, <a href="../../mmj/util/Boss.html#editPrintWriterRunParm(java.io.File, mmj.util.RunParmArrayEntry, java.lang.String)">editPrintWriterRunParm</a>, <a href="../../mmj/util/Boss.html#editProofWorksheetFileNameSuffix(mmj.util.RunParmArrayEntry, java.lang.String, int)">editProofWorksheetFileNameSuffix</a>, <a href="../../mmj/util/Boss.html#editRunParmNonNegativeInteger(java.lang.Integer, java.lang.String)">editRunParmNonNegativeInteger</a>, <a href="../../mmj/util/Boss.html#editRunParmPositiveInteger(java.lang.Integer, java.lang.String)">editRunParmPositiveInteger</a>, <a href="../../mmj/util/Boss.html#editRunParmPrintableNoBlanksString(mmj.util.RunParmArrayEntry, java.lang.String, int)">editRunParmPrintableNoBlanksString</a>, <a href="../../mmj/util/Boss.html#editRunParmValueInteger(java.lang.String, java.lang.String)">editRunParmValueInteger</a>, <a href="../../mmj/util/Boss.html#editRunParmValueReqInt(mmj.util.RunParmArrayEntry, java.lang.String, int)">editRunParmValueReqInt</a>, <a href="../../mmj/util/Boss.html#editRunParmValueReqNonNegativeInt(mmj.util.RunParmArrayEntry, java.lang.String, int)">editRunParmValueReqNonNegativeInt</a>, <a href="../../mmj/util/Boss.html#editRunParmValueReqPosInt(mmj.util.RunParmArrayEntry, java.lang.String, int)">editRunParmValueReqPosInt</a>, <a href="../../mmj/util/Boss.html#editRunParmValueReqRGBColor(mmj.util.RunParmArrayEntry, java.lang.String)">editRunParmValueReqRGBColor</a>, <a href="../../mmj/util/Boss.html#editRunParmValuesLength(mmj.util.RunParmArrayEntry, java.lang.String, int)">editRunParmValuesLength</a>, <a href="../../mmj/util/Boss.html#editRunParmValueStmt(java.lang.String, java.lang.String, mmj.lang.LogicalSystem)">editRunParmValueStmt</a>, <a href="../../mmj/util/Boss.html#editRunParmValueTheorem(java.lang.String, java.lang.String, mmj.lang.LogicalSystem)">editRunParmValueTheorem</a>, <a href="../../mmj/util/Boss.html#editYesNoRunParm(mmj.util.RunParmArrayEntry, java.lang.String, int)">editYesNoRunParm</a>, <a href="../../mmj/util/Boss.html#getSelectorAllRunParmOption(mmj.util.RunParmArrayEntry, java.lang.String, int)">getSelectorAllRunParmOption</a>, <a href="../../mmj/util/Boss.html#getSelectorCountRunParmOption(mmj.util.RunParmArrayEntry, java.lang.String, int)">getSelectorCountRunParmOption</a>, <a href="../../mmj/util/Boss.html#getSelectorTheoremRunParmOption(mmj.util.RunParmArrayEntry, java.lang.String, int, java.util.Map)">getSelectorTheoremRunParmOption</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="grammar">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>grammar</h4>
<pre>protected&nbsp;<a href="../../mmj/verify/Grammar.html" title="class in mmj.verify">Grammar</a> grammar</pre>
</li>
</ul>
<a name="grammarInitialized">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>grammarInitialized</h4>
<pre>protected&nbsp;boolean grammarInitialized</pre>
</li>
</ul>
<a name="allStatementsParsedSuccessfully">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allStatementsParsedSuccessfully</h4>
<pre>protected&nbsp;boolean allStatementsParsedSuccessfully</pre>
</li>
</ul>
<a name="grammarAmbiguityParm">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>grammarAmbiguityParm</h4>
<pre>protected&nbsp;java.lang.Boolean grammarAmbiguityParm</pre>
</li>
</ul>
<a name="statementAmbiguityParm">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>statementAmbiguityParm</h4>
<pre>protected&nbsp;java.lang.Boolean statementAmbiguityParm</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="GrammarBoss(mmj.util.BatchFramework)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GrammarBoss</h4>
<pre>public&nbsp;GrammarBoss(<a href="../../mmj/util/BatchFramework.html" title="class in mmj.util">BatchFramework</a>&nbsp;batchFramework)</pre>
<div class="block">Constructor with BatchFramework for access to environment.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>batchFramework</code> - for access to environment.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getGrammarInitialized()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGrammarInitialized</h4>
<pre>public&nbsp;boolean&nbsp;getGrammarInitialized()</pre>
<div class="block">Returns true if Grammar initialized successfully.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if Grammar initialized successfully.</dd></dl>
</li>
</ul>
<a name="getAllStatementsParsedSuccessfully()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatementsParsedSuccessfully</h4>
<pre>public&nbsp;boolean&nbsp;getAllStatementsParsedSuccessfully()</pre>
<div class="block">Returns true if all statements parsed successfully.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if all statements parsed successfully.</dd></dl>
</li>
</ul>
<a name="doRunParmCommand(mmj.util.RunParmArrayEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doRunParmCommand</h4>
<pre>public&nbsp;boolean&nbsp;doRunParmCommand(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)
                         throws java.lang.IllegalArgumentException,
                                <a href="../../mmj/mmio/MMIOException.html" title="class in mmj.mmio">MMIOException</a>,
                                java.io.FileNotFoundException,
                                java.io.IOException,
                                <a href="../../mmj/lang/VerifyException.html" title="class in mmj.lang">VerifyException</a></pre>
<div class="block">Executes a single command from the RunParmFile.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../mmj/util/Boss.html#doRunParmCommand(mmj.util.RunParmArrayEntry)">doRunParmCommand</a></code>&nbsp;in class&nbsp;<code><a href="../../mmj/util/Boss.html" title="class in mmj.util">Boss</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>runParm</code> - the RunParmFile line to execute.</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the RunParm was "consumed"</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an error occurred in the RunParm</dd>
<dd><code><a href="../../mmj/mmio/MMIOException.html" title="class in mmj.mmio">MMIOException</a></code> - if an error occurred in the RunParm</dd>
<dd><code>java.io.FileNotFoundException</code> - if an error occurred in the RunParm</dd>
<dd><code>java.io.IOException</code> - if an error occurred in the RunParm</dd>
<dd><code><a href="../../mmj/lang/VerifyException.html" title="class in mmj.lang">VerifyException</a></code> - if an error occurred in the RunParm</dd></dl>
</li>
</ul>
<a name="getGrammar()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGrammar</h4>
<pre>public&nbsp;<a href="../../mmj/verify/Grammar.html" title="class in mmj.verify">Grammar</a>&nbsp;getGrammar()</pre>
<div class="block">Fetch a Grammar object, building it if necessary from previously input
 RunParms.
 <p>
 NOTE: The returned Grammar is "ready to go" but may not have been
 "initialized", which means grammar validation, etc. The reason that
 grammar is not initialized here is that a previous attempt to
 "initialize" may have failed due to grammar errors, so to re-do it here
 would result in doubled-up error messages. The Initialize Grammar RunParm
 Command should be used prior to PrintSyntaxDetails if a
 "load and print syntax" is desired.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Grammar object, ready to go.</dd></dl>
</li>
</ul>
<a name="doInitializeGrammar(mmj.util.RunParmArrayEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doInitializeGrammar</h4>
<pre>public&nbsp;void&nbsp;doInitializeGrammar(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)
                         throws java.lang.IllegalArgumentException,
                                java.io.IOException,
                                <a href="../../mmj/lang/VerifyException.html" title="class in mmj.lang">VerifyException</a></pre>
<div class="block">Executes the InitializeGrammar command, prints any messages, etc.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>runParm</code> - RunParmFile line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an error occurred</dd>
<dd><code>java.io.IOException</code> - if an error occurred</dd>
<dd><code><a href="../../mmj/lang/VerifyException.html" title="class in mmj.lang">VerifyException</a></code> - if an error occurred</dd></dl>
</li>
</ul>
<a name="doParse(mmj.util.RunParmArrayEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doParse</h4>
<pre>public&nbsp;void&nbsp;doParse(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)
             throws java.lang.IllegalArgumentException,
                    java.io.IOException,
                    <a href="../../mmj/lang/VerifyException.html" title="class in mmj.lang">VerifyException</a></pre>
<div class="block">Executes the Parse command, prints any messages, etc.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>runParm</code> - RunParmFile line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an error occurred</dd>
<dd><code>java.io.IOException</code> - if an error occurred</dd>
<dd><code><a href="../../mmj/lang/VerifyException.html" title="class in mmj.lang">VerifyException</a></code> - if an error occurred</dd></dl>
</li>
</ul>
<a name="initializeGrammar()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeGrammar</h4>
<pre>protected&nbsp;void&nbsp;initializeGrammar()</pre>
<div class="block">An initializeGrammar subroutine.</div>
</li>
</ul>
<a name="editGrammarAmbiguityEdits(mmj.util.RunParmArrayEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>editGrammarAmbiguityEdits</h4>
<pre>protected&nbsp;void&nbsp;editGrammarAmbiguityEdits(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)
                                  throws java.lang.IllegalArgumentException</pre>
<div class="block">Validate Grammar Ambiguity Edits Runparm.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>runParm</code> - RunParmFile line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an error occurred</dd></dl>
</li>
</ul>
<a name="editStatementAmbiguityEdits(mmj.util.RunParmArrayEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>editStatementAmbiguityEdits</h4>
<pre>protected&nbsp;void&nbsp;editStatementAmbiguityEdits(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;runParm)
                                    throws java.lang.IllegalArgumentException</pre>
<div class="block">Validate Statement Ambiguity Edits Runparm.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>runParm</code> - RunParmFile line.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an error occurred</dd></dl>
</li>
</ul>
<a name="editAmbiguityParm(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>editAmbiguityParm</h4>
<pre>protected&nbsp;java.lang.Boolean&nbsp;editAmbiguityParm(java.lang.String&nbsp;ambiguityParm,
                                  java.lang.String&nbsp;valueCaption)
                                       throws java.lang.IllegalArgumentException</pre>
<div class="block">Validate an Ambiguity Edits Runparm.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ambiguityParm</code> - String, "basic" or "complete".</dd><dd><code>valueCaption</code> - Caption for RunParm value.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true signifies Complete, false signifies Basic.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an error occurred</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../mmj/util/GMFFBoss.html" title="class in mmj.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../mmj/util/LogicalSystemBoss.html" title="class in mmj.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?mmj/util/GrammarBoss.html" target="_top">Frames</a></li>
<li><a href="GrammarBoss.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
